package com.designpattern.creatorpattern.factorypattern.simple;

/**
 * @author Administration
 * @date 2021/10/13 - 10:58 - 星期三
 * @project lambda
 * @package com.designpattern.factorypattern.simple
 * @by 晨
 */
public class test {
    public static void main(String[] args) {
        CoffeeStore coffeeStore = new CoffeeStore();

        Coffee american = coffeeStore.orderCoffee("americano");

        System.out.println(american.getName());
    }
}
